export const errorImg = {
  inserted: function(dom, options) {
    dom.src = dom.src || options.value
    dom.onerror = function() {
      dom.src = options.value
    }
  },
  componentUpdated: function(dom, options) {
    dom.src = dom.src || options.value
  }
}
export const self1 = {
  inserted: function(dom, options) {
    console.log('self1')
  }
}
export const self2 = {
  inserted: function(dom, options) {
    console.log('self2')
  }
}
